<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>刷新系统信息</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<style type="text/css">
body {
	text-align: center;
}
input {
	font-size: 28px;
}

</style>
  <script type="text/javascript" src="js/jquery.min.js"></script>
  </head>
<script type="text/javascript">
$(function(){
	$("#refresh").click(function(){
		$.ajax({  
	        type : "get",  
	        async:false,  
	        url : "/services/reload/sysinfo",  
	        success : function(data){  
	            alert(data);
	        },  
	        error:function(){  
	            alert("刷新失败！");
	        }  
	    }); 
	});
});
</script>  
  <body>
   <h1>刷新系统信息</h1>
   <br/>
   <input type="button" id="refresh" value="刷 新"/>
  </body>
</html>
